package com.itheima.mm.service;

import com.itheima.mm.dto.UserLoginDTO;
import com.itheima.mm.entity.PageResult;
import com.itheima.mm.entity.QueryPageBean;
import com.itheima.mm.entity.UserPageQueryParams;
import com.itheima.mm.pojo.User;

public interface UserService {
    User login(UserLoginDTO userLoginDTO);

    PageResult findListByPage(QueryPageBean<UserPageQueryParams> queryPageBean);

    void add(User user);

    User findById(Integer id);

    void update(User user);



    //删除用户请求方法
    void deleteUser(Integer Id);

}
